package com.ruoyi.park.mapper;

import com.ruoyi.park.domain.vo.RoomLeaseVO;

import java.util.List;

/**
 * 房源租赁Mapper接口
 *
 * @author cjie
 * @date 2021-07-20
 */
public interface BuiRoomLeaseMapper {
    /**
     * 查询房源租赁
     *
     * @param roomId 房源ID
     * @return 房源租赁
     */
     RoomLeaseVO selectRoomLeaseByRoomId(String roomId);

    /**
     * 查询房源租赁列表
     *
     * @param roomLeaseVO 房源租赁
     * @return 房源租赁集合
     */
     List<RoomLeaseVO> selectBuiRoomLeaseList(RoomLeaseVO roomLeaseVO);

}
